package xin.nick.demo;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: Nick inickning@outlook.com
 * @Date: 2021/2/28 13:34
 * @Description:
 */
@RestController
public class LocalController {

    @GetMapping("/local/{id}")
    public String local(@PathVariable String id) {
//        System.out.println(2/0);
        return id;
    }

}
